package com.mall.service;

import com.mall.entity.User;

import java.util.List;

public interface UserService {

    User registerUser(User user);

    User findByUsername(String username);

    User findByEmail(String email);

    List<User> getAllUsers();

    void updateUser(User user);

    void deleteUser(Long userId);
}    